import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);

const state = {//要设置的全局访问的state对象
  textData: "张三",
};

const store = new Vuex.Store({
  state
});

export default store;
